val pattern = "\"addr\"".r

val f = pattern.findFirstIn(
    """
      |"prev_out":{"addr1":true,"tx_index":3871516,"type":0,"addr":"1FwjkECcqyq2HD9QVuufSqgxqNbvfUjS2S","value":46000000,:"Deepbit","spent":true
    """.stripMargin).nonEmpty

//f.mkString(",")



val s = 1 to 10

val x = for(i <- 0 until s.size) s(i)
